home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / DialogSP.h.z / DialogSP.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  3.8 KB  |  147 lines

  1. /*
  2.  * DialogSP.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: DialogSP.h /main/cde1_maint/2 1995/08/18 18:56:27 drk $ */
  36. /*
  37. *  (c) Copyright 1989, DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  38. /*
  39. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  40. /*
  41. *  (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  42. /*
  43. *  (c) Copyright 1988 MICROSOFT CORPORATION */
  44. #ifndef _XmDialogShellP_h
  45. #define _XmDialogShellP_h
  46.  
  47. #include <Xm/XmP.h>
  48. #include <Xm/DialogS.h>
  49. #include <X11/ShellP.h>
  50.  
  51. #ifdef __cplusplus
  52. extern "C" {
  53. #endif
  54.  
  55. /* macros: THESE BELONG IN XmP.h */
  56. #define XtX(w)         ((w)->core.x)
  57. #define XtY(w)         ((w)->core.y)
  58. #define XtWidth(w)     ((w)->core.width)
  59. #define XtHeight(w)     ((w)->core.height)
  60. #define XtBorderWidth(w) ((w)->core.border_width)
  61. #define XtBackground(w)     ((w)->core.background_pixel)
  62. #define XtSensitive(w)     ((w)->core.sensitive && (w)->core.ancestor_sensitive) 
  63.  
  64. #ifndef XtParent
  65. #define XtParent(w)     ((w)->core.parent)
  66. #endif
  67.  
  68.  
  69. /* The DialogShell instance record */
  70.  
  71. typedef struct 
  72. {
  73.     /* internal fields */
  74.     XtGrabKind         grab_kind;
  75.     Position        old_x, old_y;
  76. } XmDialogShellPart;
  77.  
  78.  
  79. /* Full instance record declaration */
  80.  
  81. typedef  struct _XmDialogShellRec 
  82. {    
  83.     CorePart            core;
  84.     CompositePart        composite;
  85.     ShellPart            shell;
  86.     WMShellPart            wm;
  87.     VendorShellPart        vendor;
  88.     TransientShellPart        transient;
  89.     XmDialogShellPart        dialog;
  90. } XmDialogShellRec;
  91.  
  92. typedef  struct _XmDialogShellWidgetRec /* OBSOLETE (for compatibility only).*/
  93. {    
  94.     CorePart            core;
  95.     CompositePart        composite;
  96.     ShellPart            shell;
  97.     WMShellPart            wm;
  98.     VendorShellPart        vendor;
  99.     TransientShellPart        transient;
  100.     XmDialogShellPart        dialog;
  101. } XmDialogShellWidgetRec;
  102.  
  103.  
  104.  
  105. /* DialogShell class structure */
  106.  
  107. typedef struct 
  108. {
  109.     XtPointer            extension;     /* Pointer to extension record */
  110. } XmDialogShellClassPart;
  111.  
  112.  
  113. /* Full class record declaration */
  114.  
  115. typedef struct _XmDialogShellClassRec 
  116. {
  117.     CoreClassPart         core_class;
  118.     CompositeClassPart         composite_class;
  119.     ShellClassPart         shell_class;
  120.     WMShellClassPart            wm_shell_class;
  121.     VendorShellClassPart     vendor_shell_class;
  122.     TransientShellClassPart      transient_shell_class;
  123.     XmDialogShellClassPart     dialog_shell_part;
  124. } XmDialogShellClassRec;
  125.  
  126.  
  127. externalref XmDialogShellClassRec  xmDialogShellClassRec;
  128.  
  129.  
  130. /********    Private Function Declarations    ********/
  131. #ifdef _NO_PROTO
  132.  
  133.  
  134. #else
  135.  
  136.  
  137. #endif /* _NO_PROTO */
  138. /********    End Private Function Declarations    ********/
  139.  
  140.  
  141. #ifdef __cplusplus
  142. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  143. #endif
  144.  
  145. #endif /* _XmDialogShellP_h */
  146. /* DON'T ADD STUFF AFTER THIS #endif */
  147.